//评价
import http from "@/utils/http";
import {EnumAlias} from "@/utils/common";
//分页
export function appraiseManagePage(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/appraiseManage/page`,
    method: "get",
    params
  });
}
//list
export function appraiseManageList(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/appraiseManage/list`,
    method: "get",
    params
  });
}
//详情
export function appraiseManageDetail(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/appraiseManage/detail`,
    method: "get",
    params
  });
}
//删除
export function appraiseManageDelete(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/appraiseManage/delete`,
    method: "post",
    data
  });
}
//修改显示状态
export function appraiseManageChangeStatus(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/appraiseManage/changeStatus`,
    method: "post",
    data
  });
}
